﻿# -*- coding: utf-8 -*-:
with open('/习题/屏蔽.txt', encoding='utf8') as f:
    a = [i.strip() for i in f.readlines() if i]
# print(a)
while True:
    ans = input('输入内容,回车退出。\n')
    if not ans:
        break
    for i in a:
        ans = ans.replace(i, '*' * len(i))
    print(ans)